h4,h3,p,input,div,img,span,i{margin: 0;padding: 0;}
input{
    display: inline-block;
    width: .35rem;
    height: .35rem;
}
.shopping{
    margin-top: 0.98rem;
}
.shopping .fix-top{
    position: absolute;
    top: 0;
    width: 100%;
    height: 0.98rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
}
.shopping .fix-top li{
    display: inline-block;
    height: 0.98rem;
    width: 1rem;
    font-size: 0.5rem;
    color: #fff;
    text-align: center;
    line-height: 0.95rem;
}
.shopping .fix-top h4{
    color: #fff;
    font-size: 0.36rem;
}

.shopping .main .cart{
    width: 100%;
    background-color: #eee;
}
.shopping .main .cart .cart-item{
    width: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding-top:.3rem;
    margin-bottom: .3rem;
}
.shopping .main .cart .cart-item .checkbox{ /*单选*/
    width: .88rem;
    height: .46rem;
    text-align: center;
}
.shopping .main .cart .cart-item .checkbox input{
    font-size: .28rem;
}
.shopping .main .cart .cart-item .wrap{ 
    flex: 1;
    display: flex;
    padding: 0 .3rem 0 0;
    overflow: hidden;
    align-items: center;
    position: relative;
}
.shopping .main .cart .cart-item .wrap .pic{ /*图片*/
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    margin-right: .2rem;
}
.shopping .main .cart .cart-item .wrap .pic img{
    width:100%;
    height: 100%;
}
.shopping .main .cart .cart-item .wrap .info{/*右边信息*/
    flex: 1;
    margin-left: .26rem;
    padding: 0 .1rem 0 0;
    position: relative;
    margin: .08rem 0;
}
.shopping .main .cart .cart-item .wrap .info h4{
    font-size: .28rem;
    color: #000;
}
.shopping .main .cart .cart-item .wrap .info .item-attrs{
    font-size: .26rem;
    color: #7f7f7f;
    overflow: hidden;
    margin: .14rem 0;
}
.shopping .main .cart .cart-item .wrap .info .price-counter{
    height: .6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cointer{
    position: relative;
    height: 100%;
    width: 2.4rem;
    display: flex;
}
.cointer span{
    display: block;
    width: .6rem;
    line-height: .6rem;
    color:black;
    text-align: center;
    font-size: .28rem;
}
.red{
    border-radius: 50%;
    background-color: #eee;
}
.add{
    border-radius: 50%;
    background-color: #eee;
}
.price{color: brown;}
.main .bottom-bar{
    width:100%;
    height: 1.08rem;
    bottom: 1.08rem;
    position: fixed;
    padding: 0 .24rem;
    left: 0;
    right: 0;
    z-index: 90;
    background: #eee;
    box-shadow: 0 -0.2rem 1rem rgba(0,0,0,.1);
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}
.left input{
    float: left;
    margin-right: .2rem;
}
.left p{
    float: left;
    line-height: .35rem;
    font-size: .32rem;
}
.left p span{margin: 0 .1rem;color:brown; font-size: .32rem;}
.zongjia{
    width: 1.92rem;
    line-height: .68rem;
    color: black;
    font-size: .30rem;
    font-weight: 600;
}
.zongjia span{color: brown;font-weight: normal;font-size: .28rem;}
.bar{
    display: block;
    width: 2.2rem;
    line-height: .8rem;
    background: #5e8bdd;
    font-size: .32rem;
    color: #fff;
    text-align: center;
    border-radius:.1rem; 
}
/* 删除按钮 */
.del{
    position: absolute;
    color: #7f7f7f;
    background-color: #eee;
    font-size: .28rem;
    top:35%;
    right: .6rem;
    padding:0 .2rem;
    border-radius: 5px;
}
/* 购物车为空 */
.kong{
    width:100%;
}
.kong span{
    display: block;
    height: 2.28rem;
    width:100%;
    text-align: center;
    font-size: 2.28rem;
    margin-top: 4rem;
}
.kong h3{
    color: rgba(0,0,0,.15);
    margin: .5rem 0 .18rem;
    font-size: .46rem;
    width: 100%;
    text-align: center;
}
.kong a{
    display: inline-block;
    width: 2.84rem;
    line-height: .8rem;
    font-size: .6rem;
    font-weight: 600;
    color: rgba(0,0,0,.6);
    margin: .32rem 1px 0;
    background-color: #5e8bdd;
    box-shadow: inset 0 2px 4px hsla(0,0%,100%,.3);
    margin-left: 30%;
    text-align: center;
}


/* 购物车数量 */
.nums{
    position: fixed;
    display: block;
    min-width: .36rem;
    min-height: .36rem;
    line-height: .36rem;
    text-align: center;
    font-size: .32rem;
    border-radius:50%; 
    background-color: red;
    color: white;
    bottom: .62rem;
    right: 30%;
}